package com.strelitzia.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.strelitzia.entity.MusicEntity;
import com.strelitzia.exception.StrelitziaException;
import com.strelitzia.vo.MusicForm;
import com.strelitzia.vo.MusicItem;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * @create 2024/1/19 11:01
 */

public interface MusicService extends IService<MusicEntity> {
    void add(MultipartFile file) throws StrelitziaException;

    void copy(Integer id) throws StrelitziaException;

    List<MusicItem> getList();
    List<MusicItem> getList(Integer id);

    void edit(MusicForm musicForm);

}
